package com.sjy.MyBlog.bean;

import java.sql.Timestamp;

public class Article {
    private Integer id;

    private String title;

    private String keywords;

    private Integer categoryId;

    private String label;

    private String titleImages;

    private Integer status;

    private Timestamp createTime;

    private Timestamp modifyTime;

    private Integer readNum;

    private Integer agreeNum;

    private Integer commNum;

    public Article(Integer id, String title, String keywords, Integer categoryId, String label, String titleImages, Integer status, Timestamp createTime, Timestamp modifyTime, Integer readNum, Integer agreeNum, Integer commNum) {
        this.id = id;
        this.title = title;
        this.keywords = keywords;
        this.categoryId = categoryId;
        this.label = label;
        this.titleImages = titleImages;
        this.status = status;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
        this.readNum = readNum;
        this.agreeNum = agreeNum;
        this.commNum = commNum;
    }

    public Article() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords == null ? null : keywords.trim();
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public String getTitleImages() {
        return titleImages;
    }

    public void setTitleImages(String titleImages) {
        this.titleImages = titleImages == null ? null : titleImages.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Timestamp modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getReadNum() {
        return readNum;
    }

    public void setReadNum(Integer readNum) {
        this.readNum = readNum;
    }

    public Integer getAgreeNum() {
        return agreeNum;
    }

    public void setAgreeNum(Integer agreeNum) {
        this.agreeNum = agreeNum;
    }

    public Integer getCommNum() {
        return commNum;
    }

    public void setCommNum(Integer commNum) {
        this.commNum = commNum;
    }
}